package com.ml.mall.bean.req.company;

import com.ml.mall.bean.req.BaseBeanReq;
import com.ml.mall.bean.req.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @description 公司信息添加
 *
 * @author pl
 * @date 2021/6/15
 * @version 1.0
 */
@ApiModel(value = "公司编辑用户")
@Data
public class CompanyRelationEditDto{
    @ApiModelProperty("公司id")
    @NotNull(message = "公司id不可为空")
    private Long companyId;

    @ApiModelProperty("用户账号")
    @NotBlank(message = "用户账号不可为空")
    private String acc;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "名称2")
    private String lastName;

    @ApiModelProperty(value = "角色类型")
    private Integer roleId;

    @ApiModelProperty(value = "邮箱地址")
    private String email;

    @ApiModelProperty(value = "状态")
    private Integer state;
}
